package Week03.Day02.Practice1;
/**
 * 短跑运动员类
 */
public class SprintAthlete extends Athlete implements Sprint {
    public SprintAthlete(){}
    public SprintAthlete(String name, int age){
        super(name,age);
    }
    @Override
    public void sprint() {
        System.out.println(this.getName() + "擅长短跑");
    }
}
